package com.xquant.marketdata.curvestrip.service;

import com.github.pagehelper.PageInfo;
import com.xquant.marketdata.curvestrip.entity.CheckParam;

import java.util.List;
import java.util.Map;

/**
 * @Author: xpp -_- -_-
 * @Date: 2021/3/16 16:25
 */
public interface TdefCurveService {
    public PageInfo TdefCurveListByPage(Map<String, Object> params);
    public void updateTdefCurveByDeCode(Map<String, Object> params);
    public void saveTdefCurve(Map<String, Object> params);
    public void deleteByPrimarydefcCode(Map<String, Object> params);

    public PageInfo TdefcurveRefSetByPage(Map<String, Object> params);
    public void updateTdefcurveRefSet(Map<String, Object> params);
    public void saveTdefcurveRefSet(Map<String, Object> params);
    public void deleteTdefcurveRefSet(Map<String, Object> params);

    public PageInfo TdefcurveRatesListByPage(Map<String, Object> params);
    public void updateTdefcurveRates(Map<String, Object> params);
    public void saveTdefcurveRates(Map<String, Object> params);
    public void deleteTdefcurveRates(Map<String, Object> params);

    List<Map<String, Object>> findDefcurveByCode(String code);


    int checkDefCurveRates(CheckParam checkParam);
}
